package com.finer.entity.document;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品表(FinerGoods)实体类
 *
 * @author makejava
 * @since 2024-10-21 10:20:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinerGoods implements Serializable {
    private static final long serialVersionUID = 657997782051191600L;
    /**
     * 主键.
     */
    private Integer id;
    /**
     * 商品编号.
     */
    private String proCode;
    /**
     * 商品名称.
     */
    private String proName;
    /**
     * 商品单位.
     */
    private Integer unitId;
    /**
     * 商品销售底价.
     */
    private Object price;
    /**
     * 商品类别.
     */
    private Integer typeId;
    /**
     * 商品备注.
     */
    private String proRemark;
    /**
     * 预警值.
     */
    private Integer stockWarning;
    /**
     * 创建人.
     */
    private Integer createBy;

    private String createName;
    /**
     * 创建时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    /**
     * 修改人.
     */
    private Integer modifyBy;

    private String modifyName;
    /**
     * 修改时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyDate;
    /**
     * 是否删除(0:未删除   1:删除).
     */
    private Integer isDel;

    //单位名称
    private String unitName;

    //类别名称
    private String typeName;

}

